﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Menu.aspx.cs" Inherits="Menu" Theme="主题1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <div style=" width:100%; background:#f3f9eb; text-align:center;height:470px">   
        <div style=" margin:0 auto ;width:80%; padding-top:20px">         
                  <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:RestaurantConnectionString %>" SelectCommand="SELECT [Dno],[Dname], [Dprice], [Ddes], [Dclass], [Dstore]FROM [Customer_Dish]" ProviderName="System.Data.SqlClient"></asp:SqlDataSource>
            <asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" CssClass="mGrid" OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
                <Columns>
                    <asp:CommandField SelectText="选购" ShowSelectButton="True"  />
                </Columns>
                  </asp:GridView>
        </div>

    </div>
</asp:Content>

